package com.echo.fm.content.systemAction;

import java.util.List;

import org.hibernate.criterion.Criterion;

import com.echo.fm.content.systemAction.model.SystemAction;
import com.echo.util.ErrorException;

public interface ISystemActionPersistence {

	void createSystemAction(SystemAction systemAction) throws ErrorException;

	void deleteSystemAction(SystemAction systemAction) throws ErrorException;

	void updateSystemAction(SystemAction systemAction) throws ErrorException;

	SystemAction searchSystemActionById(String id) throws ErrorException;

	List<SystemAction> searchSystemActionList(List<Criterion> criterions) throws ErrorException;

	List<SystemAction> pagesSystemActionList(List<Criterion> criterions) throws ErrorException;

	List<SystemAction> pagesSystemActionList(List<Criterion> criterions, int firstResult) throws ErrorException;

	int pageSystemActionCount(List<Criterion> criterions) throws ErrorException;

 
}
